package com.qfjy.homework.Liwei;

import java.util.Date;

/**
 * @author : 李伟
 * @version : 1.0
 * @date : 2022/6/29 18:52
 */
public class ChatRoom {
    public static void showMessage(User user, String message){
        System.out.println(new Date().toString()
                + " [" + user.getName() +"] : " + message);
    }
}